From: Glenn Morris Date: Thu, 14 Mar 2013 04:59:13 +0000 (-0700) Subject: * admin/admin.el (manual-pdf, manual-dvi): Pass -I to texi2pdf, texi2dvi. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~2326^2~76 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=206580428516ca7b21d438b5ae4618e4c8b49ac8;p=emacs.git * admin/admin.el (manual-pdf, manual-dvi): Pass -I to texi2pdf, texi2dvi. --- diff --git a/admin/ChangeLog b/admin/ChangeLog index bf37688c337..e0573318187 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog @@ -1,3 +1,7 @@ +2013-03-14 Glenn Morris + + * admin.el (manual-pdf, manual-dvi): Pass -I to texi2pdf, texi2dvi. + 2013-03-12 Glenn Morris * admin.el (manual-html-mono, manual-html-node): Add -DWWW_GNU_ORG. diff --git a/admin/admin.el b/admin/admin.el index ea08c0d1c74..1ae3148ffd3 100644 --- a/admin/admin.el +++ b/admin/admin.el @@ -339,12 +339,22 @@ the @import directive." (defun manual-pdf (texi-file dest) "Run texi2pdf on TEXI-FILE, emitting plaintext output to DEST." - (call-process "texi2pdf" nil nil nil texi-file "-o" dest)) + (call-process "texi2pdf" nil nil nil + "-I" (expand-file-name "../emacs" + (file-name-directory texi-file)) + "-I" (expand-file-name "../misc" + (file-name-directory texi-file)) + texi-file "-o" dest)) (defun manual-dvi (texi-file dest ps-dest) "Run texi2dvi on TEXI-FILE, emitting dvi output to DEST. Also generate PostScript output in PS-DEST." - (call-process "texi2dvi" nil nil nil texi-file "-o" dest) + (call-process "texi2dvi" nil nil nil + "-I" (expand-file-name "../emacs" + (file-name-directory texi-file)) + "-I" (expand-file-name "../misc" + (file-name-directory texi-file)) + texi-file "-o" dest) (call-process "dvips" nil nil nil dest "-o" ps-dest) (call-process "gzip" nil nil nil dest) (call-process "gzip" nil nil nil ps-dest))